package cn.zcy.springboot_springsecurity.mapper;

import cn.zcy.springboot_springsecurity.domain.Permissions;
import io.swagger.models.auth.In;

import java.util.List;

public interface PermissionsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Permissions record);

    Permissions selectByPrimaryKey(Integer id);

    List<Permissions> selectAll();

    int updateByPrimaryKey(Permissions record);

    List<Permissions> selectByUserId(Integer id);
}
